package com.zmn.oms.model.entity.work.list;

import com.zmn.oms.model.entity.work.OrderBaseEsQuery;
import com.zmn.oms.model.es.ZmnEsFieldType;
import com.zmn.oms.model.es.ZmnToEs;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 第三方订单查询
* @author: LuJia
* @version: v1.0
* @since: 2020/3/21 9:53
**/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class OrderWorkOuterQuery extends OrderBaseEsQuery {

    /**
     * 第三方订单Id
     */
    @ZmnToEs(map = "outerId", type = ZmnEsFieldType.Text)
    @NotNull
    private String outerId;
}
